.parrafoPlastic p, b {
    text-align: justify;
    font-size: 18px;
    font-family: sans-serif;
    color: #565656;
}


/*estilo para parrafo de ric*/
.contenedorRic{
    display: flex;
    padding: auto;
   
}

.contenedorRic img{
    width: auto;
    height: auto;
}

.contenedorRic p, b{
    text-align: justify;
    font-size: 18px;
    font-family: sans-serif;
    color: #565656;
}
.texto{
    align-content: center;
    padding-left: 10px;
}


/*fin...*/

.contenedor-imgPlastic{
  display: grid;
  justify-content: space-around;
}


.contenedor-imgPlastic1{
    display: grid;
    justify-content: space-around;
}

.ContenedorImagen{
    display: flex;
    justify-content: space-around;  
}

.Tabla-plasticos figcaption, b{
  text-align: justify;
  font-size: 18px;
  font-family: sans-serif;
  color: #565656;
  align-content: center;
}

.Tabla-plasticos img{
  width: auto;
  height: auto;
  align-content: center;
  
}

.contenedor-imgPlastic img {
    width: 300px;
    height: 300px; 
    align-content: center;
  }

  .contenedor-imgPlastic figcaption, a{
    text-align: center;
    font-size: 12px;
  }

  .contenedor-imgPlastic1 img {
    width: 300px;
    height: auto; 
    align-content: center;
  }

  .contenedor-imgPlastic1 figcaption, a{
    text-align: center;
    font-size: 12px;
  }

 


  *{
    margin:0;
    padding: 0;
    box-sizing: border-box;
}

.galeria{
    font-family: 'open sans';
}

.galeria h1{
    text-align: center;
    margin:20px 0 15px 0;
    font-weight: 300;
}

.linea{
    border-top: 5px solid hsla(114, 100%, 38%, 0.903);
    margin-bottom: 40px;
}

.contenedor-imagenes{
    display:flex;
    width: 85%;
    margin: auto;
    justify-content: space-around;
    flex-wrap: wrap;
    border-radius:3px;
}



.contenedor-imagenes .imagen{
    width: 32%;
    position: relative;
    height: auto;
    margin-bottom:5px;
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, .75)
}
.imagen img{
    width: 100%;
    height:100%;
    object-fit: cover;
}

.overlay{
    position: absolute;
    bottom: 0;
    left: 0;
    background:rgba(144, 160, 169, 0.648) ;
    width: 100%;
    height: 0;
    overflow: hidden;
    transition: .5s ease;
}

.overlay h2{
    color: #fff;
    font-weight: 300;
    font-size:30px;
    position: absolute;
    top: 50%;
    left:50%;
    text-align: center;
    transform: translate(-50%, -50%);
}

.imagen:hover .overlay{
    height:100%;
    cursor: pointer;
}

@media screen and (max-width:1000px){
    .contenedor-imagenes{
        width: 95%;
    }
}

@media screen and (max-width:700px){
    .contenedor-imagenes{
        width: 90%;
    }
    .contenedor-imagenes .imagen{
        width: 48%;
    }
}

@media screen and (max-width:450px){
    h1{
        font-size:22px;
    }
    .contenedor-imagenes{
        width: 98%;
    }
    .contenedor-imagenes .imagen{
        width: 80%;
    }
}